package com.ruoyi.performance.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 中间表对象 sys_performance_type
 * 
 * @author ruoyi
 * @date 2024-03-24
 */
public class SysPerformanceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 绩效名称 */
    @Excel(name = "绩效名称")
    private String performanceName;

    /** 0启用1禁用 */
    @Excel(name = "0启用1禁用")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPerformanceName(String performanceName) 
    {
        this.performanceName = performanceName;
    }

    public String getPerformanceName() 
    {
        return performanceName;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("performanceName", getPerformanceName())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .toString();
    }
}
